from rest_framework.generics import ListAPIView
from goods.models import GoodsCategory
from . import goods_category_serializer
class GoodCategoryView(ListAPIView):
    serializer_class = goods_category_serializer.GoodCategorySerializer
    queryset = GoodsCategory.objects.all()